package com.scs.application.modules.device.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.scs.application.core.entity.DataEntity;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 *  设备工作明细表实体类
 */
@Data
@Accessors(chain = true)
@TableName("device_work_item")
public class DeviceWorkItem extends DataEntity {
    //device_work.id
    private String workId;
    //device_work_item.id
    private String workItemId;

    //台账id
    private String ledgerId;

    //备注
    private String remark;

    //设备名称
    private String deviceName;

    //设备编码
    private String deviceCode;

    //规格型号
    private String deviceSpec;

    //单位
    private String deviceUnit;

    //单价
    private Double devicePrice;

    //新单价
    private Double devicePriceNew;

    //数量
    private Integer deviceQty;

    //验收
    private Integer deviceQtyAccept;

    //金额
    private Double deviceAmount;

    //出厂日期
    private Date deviceMfgDate;

    //标签码
    private String deviceSn;

    //供应商名称
    private String supplierId;

    //厂商名称
    private String supplierName;

    //厂商ID
    private String mfgId;

    //厂商名称
    private String mfgName;

    //是否进口
    private Integer flagImport;

    //是否需要论证
    private Integer flagArgument;

    //论证通过
    private Integer flagArgumentPass;

    //论证说明
    private String remarkArgument;

    //盘点结果
    private String checkResult;

    // 月折旧率，百分比
    @TableField(exist = false)
    private Double deviceDepreciation;

}